package net.steam.easyjoboa.entity;

import java.util.Date;

/**
 * LoginLog entity. @author MyEclipse Persistence Tools
 */

public class LoginLog implements java.io.Serializable {

	// Fields

	private Integer id;
	private Employee employee;
	private Date loginTime;
	private Date loginOut;

	// Constructors

	/** default constructor */
	public LoginLog() {
	}

	/** minimal constructor */
	public LoginLog(Employee employee) {
		this.employee = employee;
	}

	/** full constructor */
	public LoginLog(Employee employee, Date loginTime, Date loginOut) {
		this.employee = employee;
		this.loginTime = loginTime;
		this.loginOut = loginOut;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Employee getEmployee() {
		return this.employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	public Date getLoginTime() {
		return this.loginTime;
	}

	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}

	public Date getLoginOut() {
		return this.loginOut;
	}

	public void setLoginOut(Date loginOut) {
		this.loginOut = loginOut;
	}

}